﻿#if UNITY_EDITOR

using UnityEditor;
using UnityEngine;

namespace AI.Graph.Editor {


    [CustomEditor (typeof (EntryState))]
    public sealed class EntryView : NodeView<EntryState> {

        protected override Vector2 OnDrawNode (bool drawSimple) {
            Rect nodeRect = DrawNodeHeader (0);

            nodeRect = DrawNodePortArea (nodeRect.yMax, null, new[] {node.output});

            nodeRect = DrawNodeFooter (nodeRect.yMax);

            return new Vector2 (130, nodeRect.yMax);
        }

    }


}
#endif